@media print {
  #debug {
    display: none;
  }
}
#debug pre {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
}
#debug {
  z-index: 999;
  position: fixed;
  bottom: 0;
  right: 0;
  font-size: 12px;
  outline: none;
  overflow: hidden;
  width: 500px;
  border-top: solid 1px #ddd;
  border-left: solid 1px #ddd;
  height: 30px;
  background: rgba(236, 241, 240, 0.4);
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}
#debug * {
  font-family: Arial, Helvetica, sans-serif;
}
#debug.maximized,
#debug.fullscreen {
  background: #ecf1f0;
  width: 100%;
}
#debug.maximized .debug_bar .debug_control a.debug_toggle,
#debug.fullscreen .debug_bar .debug_control a.debug_toggle {
  background-image: url("");
}
#debug.maximized {
  border-left: none;
  height: 350px;
}
#debug.fullscreen {
  border: none;
  height: 100%;
}
#debug.fullscreen .debug_bar .debug_control a.debug_fullscreen {
  display: none;
}
#debug .clear {
  clear: both;
}
#debug .debug_bar {
  height: 30px;
}
#debug .debug_bar .debug_global {
  height: 24px;
  padding: 3px;
  float: left;
}
#debug .debug_bar .debug_global span {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  padding-left: 28px;
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 24px;
  margin-left: 4px;
}
#debug .debug_bar .debug_global span.debug_memory {
  background-image: url("");
}
#debug .debug_bar .debug_global span.debug_time {
  background-image: url("");
}
#debug .debug_bar .debug_control {
  float: right;
  height: 24px;
  padding: 3px;
}
#debug .debug_bar .debug_control a {
  display: inline-block;
  height: 24px;
  line-height: 24px;
  cursor: pointer;
  background-size: 24px;
  width: 24px;
}
#debug .debug_bar .debug_control a.debug_close {
  background-image: url("");
}
#debug .debug_bar .debug_control a.debug_toggle {
  background-image: url("");
}
#debug .debug_bar .debug_control a.debug_fullscreen {
  background-image: url("");
}
#debug .debug_buttons {
  height: 30px;
  padding: 0 5px;
}
#debug .debug_buttons > div {
  background: #fefefe;
  display: inline-block;
  padding: 5px 10px;
  border: solid 1px;
  border-left-width: 5px;
  margin: 0 4px 0 0;
  cursor: pointer;
  float: left;
}
#debug .debug_buttons > div[rel="trace"] {
  border-color: #555555;
}
#debug .debug_buttons > div[rel="notice"] {
  border-color: #ffff66;
}
#debug .debug_buttons > div[rel="warning"] {
  border-color: #ff9900;
}
#debug .debug_buttons > div[rel="error"] {
  border-color: #ff0000;
}
#debug .debug_buttons > div[rel="query"] {
  border-color: #00ffff;
}
#debug .debug_buttons > div.disabled {
  opacity: .5;
}
#debug .debug_buttons > div.vars {
  float: right;
  margin: 0 0 0 4px;
}
#debug .debug_content {
  overflow: hidden;
  padding: 5px;
  height: calc(100% -  70px );
  -webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.3);
  background: #ffffff;
}
#debug .debug_content .debug_console {
  height: 100%;
  overflow: auto;
  width: calc(70% - 1px);
  border-right: solid 1px #efefef;
  float: left;
}
#debug .debug_content .debug_console .console {
  border-collapse: collapse;
  width: 100%;
}
#debug .debug_content .debug_console .console tr.odd td {
  background: #f8fdf9;
}
#debug .debug_content .debug_console .console tr td {
  padding: 5px 10px;
  border-bottom: solid 1px #e8e8e8;
}
#debug .debug_content .debug_console .console tr td.date {
  width: 90px;
  color: #666;
}
#debug .debug_content .debug_console .console tr td.file {
  width: 160px;
  text-align: right;
}
#debug .debug_content .debug_console .console tr td.trace {
  background: #555555;
}
#debug .debug_content .debug_console .console tr td.notice {
  background: #ffff66;
}
#debug .debug_content .debug_console .console tr td.warning {
  background: #ff9900;
}
#debug .debug_content .debug_console .console tr td.error,
#debug .debug_content .debug_console .console tr td.exception {
  background: #ff0000;
}
#debug .debug_content .debug_console .console tr td.query {
  background: #00ffff;
}
#debug .debug_content .debug_console .console tr td.trace,
#debug .debug_content .debug_console .console tr td.notice,
#debug .debug_content .debug_console .console tr td.warning,
#debug .debug_content .debug_console .console tr td.error,
#debug .debug_content .debug_console .console tr td.query,
#debug .debug_content .debug_console .console tr td.exception {
  padding: 0;
  width: 7px;
  border-bottom: none;
}
#debug .debug_content .debug_vars {
  height: 100%;
  overflow: auto;
  width: calc(30% - 10px);
  padding: 5px;
  float: right;
}
